$(function() {
    $.getJSON(ApiUrl + "/index.php?act=index&op=wap_Index2", function(e) {
        if (!e) {
            e = [];
            e.datas = [];
            e.datas.goods_list_rx = [];
            e.datas.goods_list_wh = [];
            e.datas.goods_list_kz = [];
            e.datas.goods_list_yz = [];
            e.datas.goods_list_ren = [];
            e.datas.goods_list_ms = [];
        }
        $("#rexiao").html(template.render("rexiao-list", e.datas));
        $("#xinyang").html(template.render("xinyang-list", e.datas));
        $("#kuizeng").html(template.render("kuizeng-list", e.datas));
        $("#yingzao").html(template.render("yingzao-list", e.datas));
        $("#huanjing").html(template.render("huanjing-list", e.datas));
        $("#meishi").html(template.render("meishi-list", e.datas));
    })
});
